import request from '@/api/request'

//数据列表
export function index(params) {
	return request({ url: '/app/Withdraw/index',method: 'post',data: params})
}


//获取sql语句定义的字段信息
export function getFieldList(params) {
	return request({ url: '/app/Withdraw/getFieldList',method: 'post',data: params})
}


//修改排序开关
export function updateExt(params) {
	return request({ url: '/app/Withdraw/updateExt',method: 'post',data: params})
}



//添加
export function add(params) {
	return request({ url: '/app/Withdraw/add',method: 'post',data: params})
}



//修改
export function update(params) {
	return request({ url: '/app/Withdraw/update',method: 'post',data: params})
}

export function getUpdateInfo(params) {
	return request({ url: '/app/Withdraw/getUpdateInfo',method: 'post',data: params})
}



//修改状态
export function approve(params) {
	return request({ url: '/app/Withdraw/approve',method: 'post',data: params})
}



//修改状态
export function cancel(params) {
	return request({ url: '/app/Withdraw/cancel',method: 'post',data: params})
}



//修改状态
export function Pay(params) {
	return request({ url: '/app/Withdraw/Pay',method: 'post',data: params})
}



//修改状态
export function reject(params) {
	return request({ url: '/app/Withdraw/reject',method: 'post',data: params})
}



//查看详情
export function detail(params) {
	return request({ url: '/app/Withdraw/detail',method: 'post',data: params})
}



